Adaptive battery parameter extraction and soc estimation for lithium-ion battery

ABSTRACT

A system and method for estimating internal parameters of a lithium-ion battery to provide a reliable battery state-of-charge estimate. The method uses a two RC-pair equivalent battery circuit model to estimate the battery parameters, including a battery open circuit voltage, an ohmic resistance, a double layer capacitance, a charge transfer resistance, a diffusion resistance and a diffusion capacitance. The method further uses the equivalent circuit model to provide a difference equation from which the battery parameters are adapted, and calculates the battery parameters from the difference equation.

BACKGROUND OF THE INVENTION

1. Field of the Invention

This invention relates generally to a system and method for estimating battery parameters and, more particularly, to a system and method for adaptively extracting six internal parameters from a lithium-ion battery to provide a reliable state-of-charge (SOC) estimate of the battery based on the battery's open circuit voltage.

2. Discussion of the Related Art

Electric vehicles are becoming more and more prevalent. These vehicles include hybrid vehicles, such as the extended range electric vehicles (EREV) that combines a battery and a main power source, such as an internal combustion engine, fuel cell system, etc., and electric only vehicles, such as the battery electric vehicles (BEV). All of these types of electric vehicles employ a high voltage battery that includes a number of battery cells. These batteries can be different battery types, such as lithium-ion, nickel metal hydride, lead acid, etc. A typical high voltage battery for an electric vehicle may include 196 battery cells providing about 400 volts. The battery can include individual battery modules where each battery module may include a certain number of battery cells, such as twelve cells. The individual battery cells may be electrically coupled in series, or a series of cells may be electrically coupled in parallel, where a number of cells in the module are connected in series and each module is electrically coupled to the other modules in parallel. Different vehicle designs include different battery designs that employ various trade-offs and advantages for a particular application.

Batteries play an important role in powering electrical vehicles and hybrid vehicles. The effectiveness of battery control and power management is essential to vehicle performance, fuel economy, battery life and passenger comfort. For battery control and power management, two states of the battery, namely, state-of-charge (SOC) and battery power, need to be predicted, or estimated, and monitored in real time because they are not measurable during vehicle operation. Battery state-of-charge and battery power can be estimated using an equivalent circuit model of the battery that defines the battery open circuit voltage (OCV), battery ohmic resistance and an RC pair including a resistance and a capacitance using the battery terminal voltage and current. Therefore, both battery states have to be derived from battery parameters estimated from the battery terminal voltage and current. A few battery state estimation algorithms have been developed in the art using different methodologies and some have been implemented in vehicles.

It is well known that battery dynamics are generally non-linear and highly dependent on battery operating conditions. However, for on-board battery parameter estimation, a linear model that has a few frequency modes is used to approximate a battery's dominant dynamics for a specific application, such as power prediction or SOC estimation. The reason for this is mainly due to limited computational power and memory available for on-board applications. In fact, even if there was unlimited computational power and memory, an accurate estimation of all battery parameters in a complex model with as many frequency modes as possible cannot be guaranteed because the extraction of signals, normally battery terminal voltage and terminal current, is limited. Therefore, it is neither practical nor necessary to cover all frequency modes in one model as long as the estimation error caused by model uncertainties is within an acceptable range for a specific application.

In order to minimize the memory and computational cost, a simple battery model is preferred. On the other hand, different applications need to be characterized by different frequency modes. For instance, the feature frequency to characterize the high frequency resistance of a battery is much higher than the feature frequency that characterizes a change in battery power. A simple model with limited frequency modes inevitably introduces errors and uncertainties because it cannot fully cover all feature frequencies for various applications.

U.S. patent application Ser. No. 11/867,497, filed Oct. 4, 2007, now published as Publication No. U.S. 2009/0091299, titled Dynamically Adaptive Method For Determining The State of Charge of a Battery, assigned to the assignee of this invention and herein incorporated by reference, discloses a method for determining battery state-of-charge and battery power using four battery parameters, namely, the battery OCV, ohmic resistance, and the resistance and capacitance of an RC pair.

Lithium-ion batteries have proven to be promising for hybrid electric vehicles. To better control the propulsion battery system in a hybrid electric vehicle for long battery life and good fuel economy, the knowledge of battery internal parameters, such as the OCV, the ohmic resistance, the battery capacitance, etc., is very important. In particular, the OCV is used to estimate the battery state-of-charge (SOC), which is a critical index for the control of batteries.

For some lithium-ion batteries, such as the nano-phosphate based lithium-ion battery, the existing parameter estimation algorithms have difficulty giving an accurate and robust SOC estimate because of a flat mapping curve from the OCV to the battery SOC. In these types of batteries, a chemical phenomenon known as diffusion, well known to those skilled in the art, causes the estimate of the open circuit voltage of the battery to be different from its actual open circuit voltage when no current is being drawn from the battery. For example, for every 10% SOC change, the OCV varies less than 20 mV. Thus, when no current is being drawn from the battery and the battery SOC is constant, the difference between the estimated open circuit voltage and the actual battery open circuit voltage is significant, which causes an error in the estimation of the battery SOC.

Therefore, it may be necessary to develop new estimation algorithms for certain batteries that can better estimate the open circuit voltage more precisely by subtracting all voltage components, including small components with slow dynamics, such as the diffusion voltage, which is considered to be small enough to be negligible for traditional lithium-ion batteries, from the battery terminal voltage. This requires a powerful algorithm to extract more battery parameters corresponding to more voltage components with high efficiency and accuracy. In consideration of the estimation error and measurement error with current in-vehicle sensors, the algorithm is also required to be highly robust to initial conditions, environment variations and measurement noise so as to provide a reliable SOC estimate.

SUMMARY OF THE INVENTION

In accordance with the teachings of the present invention, a system and method are disclosed for estimating internal parameters of a lithium-ion battery to provide a reliable battery state-of-charge estimate. The method uses a two RC-pair equivalent battery circuit model to estimate the battery parameters, including a battery open circuit voltage, an ohmic resistance, a double layer capacitance, a charge transfer resistance, a diffusion resistance and a diffusion capacitance. The method further uses the equivalent circuit model to provide a difference equation from which the battery parameters are adapted, and calculates the battery parameters from the difference equation.

Additional features of the present invention will become apparent from the following description and appended claims, taken in conjunction with the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a simplified plan view of a hybrid vehicle including a battery and a main power source;

FIG. 2 is a schematic diagram of a two RC-pair equivalent battery circuit;

FIG. 3 is a flow chart diagram for an algorithm for extracting six parameters from a battery; and

FIG. 4 is a flow chart diagram for an algorithm for estimating battery state-of-charge.

DETAILED DESCRIPTION OF THE EMBODIMENTS

The following discussion of the embodiments of the invention directed to a system and method for estimating the parameters of a lithium-ion battery is merely exemplary in nature, and is in no way intended to limit the invention or its applications or uses. For example, the invention has particular application for an on-board algorithm for in-vehicle applications. However, as will be appreciated by those skilled in the art, the battery state estimator of the invention will have other applications other than vehicle applications.

The present invention proposes an algorithm for adaptively estimating battery parameters in real time for battery SOC estimation and other potential applications using fewer look-up tables for better adaptation to the environment and driving conditions, and to achieve high computational efficiency as well as low implementation cost. The invention also provides an adaptive and robust algorithm for an accurate and reliable SOC estimate for battery control and electrical power management. The algorithm discussed below can adaptively extract six internal parameters for lithium-ion batteries and provide a reliable SOC estimate based on one of those extracted battery internal parameters, particularly the open circuit voltage. The advantages of the proposed algorithm include increased robustness to initial conditions, better adaptation to variations in environment, battery state and driving conditions, higher computational efficiency, and low implementation costs.

This proposed algorithm employs a new battery model in the form of a difference equation that directly relates the battery internal parameters to the battery terminal voltage and current. The model is the basis of an adaptive parameter estimation algorithm to be developed. A two RC-pair equivalent circuit is employed to relate the parameters in the new battery model to the battery internal parameters in the equivalent circuit. Based on the new battery model, an adaptive algorithm is developed to extract the battery internal parameters from the measured battery voltage and current. Those extracted battery internal parameters are useful for SOC estimation, power prediction, state-of-health (SOH) monitoring, etc. The open circuit voltage extracted by the adaptive algorithm is used to estimate the battery SOC in real time.

FIG. 1 is a simplified plan view of a vehicle 10 including a high voltage battery 12 and a main power source 14, where the vehicle 10 is intended to represent any hybrid vehicle, such as hybrid internal combustion engine vehicles, fuel cell system vehicle, etc. The vehicle 10 is also intended to represent any electric only vehicle that only employs a battery as the lone power source. The vehicle 10 includes a controller 16 that is intended to represent all of the control modules and devices necessary for the proper operation and control of the power provided by the battery 12 and the power source 14 to drive the vehicle 10, recharge the battery 12 by the power source 14 or regenerative braking, and determine the battery SOC and power capability, as discussed below.

FIG. 2 is a schematic diagram of a two RC-pair equivalent circuit 20 provided as a battery model. The circuit 20 includes a potential at node 22 that is the battery voltage and includes the battery current. A source 26 represents the battery open circuit voltage V_(OC) and resistor 28 represents the ohmic resistance R of the circuit 20. A first RC-pair includes capacitor 32 being a double layer (dl) capacitance C_(dl) and a resistor 30 being a charge transfer (ct) resistance R_(ct). A second RC-pair includes resistor 34 being a diffusion resistance R_(df) and a capacitor 36 being a diffusion capacitance C_(df). Other battery models may use more complicated equivalent circuits, which may be used in the discussion below for determining the various values.

Using a standard hybrid pulse power characterization (HPPC) test on a lithium-ion battery at different temperatures and SOC levels, and knowing that a second-order linear dynamic system closely matches the battery dynamic behavior characterized by the HPPC test data, it can be determined that a second-order linear dynamic system is a good representation of the battery dynamic behavior. Consequently, the battery model can be represented as a difference equation by:

V(k)=ν₁ V(k−1)+θ₂ V(k−2)+θ₃ I(k)+θ₄ I(k−1)+θ₅ I(k−2)+θ₆ U(k)   (1)

Which can also be written as:

V(k)=θ^(T)φ(k)   (2)

Where k indicates the time step, U(k) represents a unit step function whose value is zero for k<0 and one for k≧0, φ(k)=[V(k−1),V(k−2),I(k),I(k−1),I(k−2),U(k)]^(T) is a vector of measured data and known signals, and θ=[θ₁, θ₂, θ₃, θ₄, θ₅, θ₆]^(T) is a vector of parameters θ₁, θ₂, θ₃, θ₄, θ₅ and θ₆.

The parameters θ₁, θ₂, θ₃, θ₄, θ₅ and θ₆ in difference equation (1) need to be associated to battery internal parameters, such as open circuit voltage, ohmic resistance, etc., so that the battery internal parameters can be derived from the parameters θ₁, θ₂, θ₃, θ₄, θ₅ and θ₆, which can be estimated by a parameter estimation algorithm based on difference equation (1).

It is known that for a two RC-pair equivalent circuit, as shown in FIG. 2, the battery terminal voltage consists of four parts, which can be expressed as:

V(k)=V _(oc) +I(k)R+V _(dl)(k)+V _(df)(k)   (3)

Where V(k) is the measured battery terminal voltage, I(k) is the measured battery terminal current, V_(oc), is the open-circuit voltage, R is the ohmic resistance, and V_(dl)(k) and V_(dl)(k) are voltages across the two RC pairs, and are a double layer voltage and a diffusion voltage, respectively.

The double layer voltage V_(dl) can be dynamically described by:

$\begin{matrix} {{V_{dl}(k)} = {{{\exp \left( {- \frac{\Delta \; t}{R_{ct}C_{dl}}} \right)}{V_{dl}\left( {k - 1} \right)}} + {{R_{ct}\left( {1 - {\exp \left( {- \frac{\Delta \; t}{R_{ct}C_{dl}}} \right)}} \right)}{I\left( {k - 1} \right)}}}} & (4) \end{matrix}$

And similarly the diffusion voltage V_(df) can be dynamically described by:

$\begin{matrix} {{V_{{df}\;}(k)} = {{{\exp \left( {- \frac{\Delta \; t}{R_{df}C_{df}}} \right)}{V_{df}\left( {k - 1} \right)}} + {{R_{df}\left( {1 - {\exp \left( {- \frac{\Delta \; t}{R_{df}C_{df}}} \right)}} \right)}{I\left( {k - 1} \right)}}}} & (5) \end{matrix}$

Where R_(ct) is the charge transfer resistance, C_(dl) is the double layer capacitance, R_(df) is the diffusion resistance and C_(df) is the diffusion capacitance.

Difference equation (1) is related to the two RC-pair equivalent circuit 20 to establish the relationship between the battery internal parameters and the parameters θ₁, θ₂, θ₃, θ₄, θ₅ and θ₆ in difference equation (1). Combining equations (3), (4) and (5), the two RC-pair equivalent circuit can be represented into the state space form as:

$\begin{matrix} {\begin{bmatrix} V_{dl} & (k) \\ V_{df} & (k) \end{bmatrix} = {{A\begin{bmatrix} {V_{dl}\left( {k - 1} \right)} \\ {V_{df}\left( {k - 1} \right)} \end{bmatrix}} + {{BI}\left( {k - 1} \right)}}} & (6) \\ {{V(k)} = {{C\begin{bmatrix} {V_{dl}(k)} \\ {V_{df}(k)} \end{bmatrix}} + {D\begin{bmatrix} {I(k)} \\ {U(k)} \end{bmatrix}}}} & (7) \end{matrix}$

Where A, B, C and D are matrices consisting of battery internal parameters, which are given by:

$\begin{matrix} {A = {\begin{bmatrix} a_{1} & 0 \\ 0 & {a_{2}\;} \end{bmatrix} = \begin{bmatrix} {\exp \left( {- \frac{\Delta \; t}{R_{df}C_{df}}} \right)} & 0 \\ 0 & {\exp \left( {- \frac{\Delta \; t}{R_{ct}C_{dl}}} \right)} \end{bmatrix}}} & (8) \\ {B = {\begin{bmatrix} b_{1} \\ b_{2} \end{bmatrix} = \begin{bmatrix} {R_{df}\left( {1 - {\exp \left( {- \frac{\Delta \; t}{R_{df}C_{df}}} \right)}} \right)} \\ {R_{ct}\left( {1 - {\exp \left( {- \frac{\Delta \; t}{R_{ct}C_{dl}}} \right)}} \right)} \end{bmatrix}}} & (9) \\ {C = \begin{bmatrix} 1 & 1 \end{bmatrix}} & (10) \\ {D = {\begin{bmatrix} d_{1} & d_{2} \end{bmatrix} = \begin{bmatrix} R & V_{oc} \end{bmatrix}}} & (11) \end{matrix}$

And where U(k) is the unit step function.

Take the z-transform of the state space battery model in equations (6) and (7), and slightly abusing notation gives:

$\begin{matrix} {{z\begin{bmatrix} {V_{dl}(z)} \\ {V_{df}({zk})} \end{bmatrix}} = {{A\begin{bmatrix} {V_{dl}(z)} \\ {V_{df}(z)} \end{bmatrix}} + {{BI}(z)}}} & (12) \\ {{V(z)} = {{C\begin{bmatrix} {V_{dl}(z)} \\ {V_{df}(z)} \end{bmatrix}} + {D\begin{bmatrix} {I(z)} \\ {U(z)} \end{bmatrix}}}} & (13) \end{matrix}$

Where V(z), I(z), V_(dl)(z), V_(df)(z) and U(z) are the z-transform of signals V(k), I(k), V_(dl)(k), V_(df)(k) and U(k).

Note, equations (12) and (13) are solved to obtain the transfer function of the battery equivalent circuit 20, where:

$\begin{matrix} {\left( {z - A} \right)^{- 1} = {\begin{bmatrix} {z - a_{1}} & 0 \\ 0 & {z - a_{2}} \end{bmatrix}^{- 1} = \begin{bmatrix} \frac{1}{z - a_{1}} & 0 \\ 0 & \frac{1}{z - a_{2\;}} \end{bmatrix}}} & (14) \end{matrix}$

Solve equation (11) as:

$\begin{matrix} {\begin{bmatrix} {V_{dl}(z)} \\ {V_{df}(z)} \end{bmatrix} = {{\begin{bmatrix} \frac{1}{z - a_{1}} & 0 \\ 0 & \frac{1}{z - a_{2}} \end{bmatrix}\begin{bmatrix} b_{1} \\ b_{2} \end{bmatrix}}{I(z)}}} & (15) \end{matrix}$

Substituting equation (15) into equation (13), and expanding gives:

$\begin{matrix} {{V(z)} = {{\begin{bmatrix} 1 & 1 \end{bmatrix}\begin{bmatrix} {V_{dl}(z)} \\ {V_{df}(z)} \end{bmatrix}} + {{RI}(z)} + {V_{oc}{U(z)}}}} & (16) \\ {= {{{\begin{bmatrix} 1 & 1 \end{bmatrix}\begin{bmatrix} \frac{b_{1}}{z - a_{1}} & 0 \\ 0 & \frac{b_{2}}{z - a_{2}} \end{bmatrix}}{I(z)}} + {{RI}(z)} + {V_{oc}{U(z)}}}} & (17) \\ {= {\frac{{b_{1}\left( {z - a_{2}} \right)} + {b_{2}\left( {z - a_{1}} \right)}}{\left( {z - a_{1}} \right)\left( {z - a_{2}}\; \right)} + {{RI}(z)} + {V_{oc}{U(z)}}}} & (18) \end{matrix}$

Equation (18) is the transfer function of the two RC-pair battery equivalent circuit 20. The transfer function of equation (18) describes the input-to-output relationship of a battery whose electrical dynamics can be characterized by the two RC-pair battery equivalent circuit 20 and given by equations (3), (4), and (5).

Taking the inverse z-transform gives the following difference equation:

V(k)=(a ₁ +a ₂)V(k−1)+(−a ₁ a ₂)V(k−2)+RI(k)+[(b ₁ −b ₂)−R(a ₁ +a ₂)]I(k−1)+(a ₁ a ₂ R−b ₁ a ₂ −b ₂ a ₁)I(k−2)+[1−(a ₁ +a ₂)+a ₁ a ₂ ]V _(oc) U(k)   (19)

Recall the battery model given by difference equation (1) that is determined by the HPPC test data. If both difference equations (1) and (19) describe the same battery electrical dynamics, they are equivalent. Therefore, the following equations relate the battery internal parameters defined in the equivalent circuit and the parameters from difference equation (1).

θ₁=(a ₁ +a ₂)   (20)

θ₂=(−a ₁ a ₂)   (21)

θ₃=R   (22)

θ₄=[(b ₁ −b ₂)−R(a ₁ +a ₂)]  (23)

θ₅=(a ₁ a ₂ R−b ₁ a ₂ −b ₂ a ₁)   (24)

θ₆=[1−(a ₁ +a ₂)=a ₁ a ₂]  (25)

Or inversely:

$\begin{matrix} {V_{oc} = \frac{\theta_{6}}{1 - \theta_{1} - \theta_{2}}} & (26) \\ {R = \theta_{3}} & (27) \end{matrix}$

Other parameters can also be calculated from equations (21)-(26). For the applications of SOC estimation and power prediction, the battery parameters in the form of V_(oc), R, a₁, a₂, b₁ and b₂ are useful. However, with further calculations based on equation (13), the battery internal parameters can be obtained in the form of V_(oc), R, R_(ct), C_(dl), R_(df) and C_(df), which carry real physical meaning and can be used in a variety of applications for battery diagnosis and prognosis.

FIG. 3 is a flow chart diagram 50 showing a process for an adaptive algorithm based on difference equation (1) to estimate the parameters θ₁, θ₂, θ₃, θ₄, θ₅ and θ₆, and then calculate the battery internal parameters from the parameters θ₁, θ₂, θ₃, θ₄, θ₅ and θ₆ using equation (13). The algorithm start at box 52 with an initialization by reading a first pair of data including the battery voltage V(k) and the battery current I(k), setting initial values for the parameters θ₁, θ₂, θ₃, θ₄, θ₅ and θ₆ from the estimated result of the last operation from memory, and studying the initial correlation matrix P as a 6×6 positive definite matrix. The algorithm then reads the measured battery voltage V(k) and current I(k) at box 54. The algorithm then calculates a signal vector Φ(k) from the measured battery voltage V(k) and current I(k), the battery and current data from previous measurements, namely, V(k−1), V(k−2), I(k−1) and I(k−2) and the unit step function U(k−1)=1 using equations (1) and (2) at box 56.

The algorithm then calculates a gain vector G as a least squares regression at box 58, which is a 6×1 vector including four gains for the four unknown parameters θ₁, θ₂, θ₃, θ₄, θ₅ and θ₆, respectively, as:

$\begin{matrix} {{G(k)} = \frac{{P\left( {k - 1} \right)}{\varphi (k)}}{\lambda + {{\varphi^{T}(k)}{P\left( {k - 1} \right)}{\varphi (k)}}}} & (28) \end{matrix}$

Where 0<λ≦1 is a pre-selected forgetting factor.

The algorithm then computes an estimation error α(k) at box 60 as:

α(k)=V(k)θ^(T)φ(k)   (29)

The algorithm then adapts the parameters θ₁, θ₂, θ₃, θ₄, θ₅ and θ₆ at box 62 to minimize the estimation error α using:

θ(k)=θ(k−1)+G(k)α(k)   (30)

The algorithm then calculates the battery parameters for the open circuit voltage V_(oc), the ohmic resistance R, and the coefficients a₁, a₂, b₁ and b₂ from the parameters θ₁, θ₂, θ₃, θ₄, θ₅ and θ₆ using equation (28) at box 64. The algorithm then updates the correlation matrix P for the next data point at box 66 using:

$\begin{matrix} {{P(k)} = {{\frac{1}{\lambda}{P\left( {k - 1} \right)}} - {\frac{1}{\lambda}{G(k)}{\varphi^{T}(k)}{P(k)}}}} & (31) \end{matrix}$

The algorithm then determines whether the operation has ended at decision diamond 68, and if so, saves the parameters θ₁, θ₂, θ₃, θ₄, θ₅ and θ₆ for the next operation at box 70. If the operation has not ended at the decision diamond 68, the algorithm stores the current battery voltage V(k) and current I(k) for the next time period and returns to the box 54 to get the new battery voltage and current measurements.

Once the algorithm has the parameters θ₁, θ₂, θ₃, θ₄, θ₅ and θ₆ using the battery parameter extraction algorithm, a SOC estimation algorithm is employed to infer the battery SOC. In this embodiment, the SOC is estimated by combining a voltage based SOC_(V) that is based on a thermodynamic voltage V_(O) and a current based SOC_(I) that is provided through Coulomb integration. The relationship between the thermodynamic voltage V_(O), the open circuit voltage V_(OC) and a hysteresis voltage V_(h) is given by:

V _(o)(k)=V _(oc)(k)−V _(h)(k)   (32)

Where V_(h) is the hysteresis voltage governed by:

V _(h)(k)=V _(h)(k−1)+θ₇ I(k−1)[V _(h) max−sign(I(k−1))V _(h)(k−1))]  (33)

And where θ₇ is a parameter to determine hysteresis behavior and V_(h max) is the maximum value of the hysteresis voltage V_(h).

The hysteresis model of equation (33) describes a type of hysteresis with a fast convergence to a hysteresis boundary from any point inside the boundary, which can be observed in several lithium-ion batteries. With such a switch type of hysteresis model, the voltage based SOC_(V) estimation is robust to the initial hysteresis voltage in the sense that it is not necessary to require accurate knowledge of the initial hysteresis voltage V_(h) because the hysteresis voltage V_(h) governed by the model quickly converges to the boundary wherever it starts.

One point of novelty of the SOC estimation algorithm is that it takes an adaptive technique to tune weights w for the voltage based SOC_(V) as determined by voltage V_(O), and the current based SOC_(I) to produce the combined SOC estimate, and uses the combined SOC estimate as the new starting point for the next update so as to reduce the dependency on the initial SOC and increase the algorithm robustness.

The SOC estimation algorithm discussed above is illustrated in FIG. 4 as flow chart diagram 80. The algorithm starts with an initialization at box 82 that sets the initial value of the SOC by reading the SOC estimation of the last operation from memory. The initialization further includes reading the battery terminal voltage V(k) and current I(k) and the open circuit voltage estimation V_(OC) from the battery parameter extraction process discussed above. The algorithm also sets a weighting value w₁ equal to a predetermined value, such as 0.996.

The SOC estimation algorithm then determines whether the estimated open circuit voltage V_(OC) is valid by determining if enough time has gone by from the start of the SOC estimation process, for example, 200 seconds, at decision diamond 84, whether dV_(OC) is greater than dV at decision diamond 96 and whether dl has been less 0.5 in the past 10 seconds at decision diamond 88. If all of these determinations from the decision diamonds 84, 86 and 88 is no, then the open circuit voltage V_(OC) is valid, and the algorithm proceeds to calculate the hysteresis voltage V_(h) using equation (33) and the thermodynamic voltage V_(O) using equation (32) at box 90. The algorithm then calculates the voltage based SOC_(V) for the current time period using the valid thermodynamics voltage V_(O) and the estimated current based SOC_(I) for the current time step at box 92 using:

SOC_(I)(k)=SOC(k−1)+I(k)δt   (34)

Where SOC(k−1) is the combined SOC estimate of the last time step and I(k)δt is the current contribution from the Coulomb integration.

The algorithm then calculates the difference between SOC_(I)(k) and SOC_(V)(k) and determines whether dSOC_(V) is greater than xdSOC_(ah) at decision diamond 94, where x is a number. If the SOC meets the requirements of the decision diamond 94, then the algorithm sets weighting value w₂=w₁+(1−w₁)/1.1 at box 96 that tunes the weighting factor w based on the difference between the current based SOC_(I)(k) and the voltage based SOC_(V)(k). The algorithm then calculates the voltage based SOC_(V) as:

SOC_(V)(k)=SOC_(V)(k−1)+(dSOC_(V) −dSOC_(ah))/10   (35)

The algorithm then combines the voltage based SOC_(V)(k) with the weighting factor w₂ at box 100 as:

SOC(k)=w ₂SOC_(c)(k)+(1−w ₂)SOC_(V)(k)   (36)

If none of the conditions have been met at the decision diamonds 84, 86 and 88 for a valid open circuit voltage V_(OC), then the algorithm sets the weighting value w₂=0 at box 102 and proceeds to determine SOC(k) using equation (36) at the box 100. Likewise, if the requirement at decision diamond 94 has been not met, the algorithm sets the weighting value w₂ equal to the weighting value w₁ at box 104, and proceeds to calculate the SOC(k) using equation (36) at the box 100.

The foregoing discussion discloses and describes merely exemplary embodiments of the present invention. One skilled in the art will readily recognize from such discussion and from the accompanying drawings and claims that various changes, modifications and variations can be made therein without departing from the spirit and scope of the invention as defined in the following claims. 

1. A method for estimating battery parameters of a battery, said method comprising: reading a current measured battery voltage and a measured battery current; calculating a signal vector based on the current measured battery voltage and current and a previous measured battery voltage and current; calculating a gain vector using the signal vector and a correlation matrix; calculating an estimation error using the current measured battery voltage and the signal vector; adapting the battery parameters using the gain vector and the estimation error; and calculating a battery open circuit voltage and a battery resistance using the adapted battery parameters.
 2. The method according to claim 1 wherein the method estimates six battery parameters.
 3. The method according to claim 1 wherein the method estimates the battery open circuit voltage, the ohmic resistance, a double layer capacitance, a charge transfer resistance, a diffusion resistance and a diffusion capacitance.
 4. The method according to claim 1 wherein the method uses a two RC-pair equivalent battery circuit model to estimate the battery parameters.
 5. The method according to claim 1 wherein calculating a gain vector includes using the equation: ${G(k)} = \frac{{P\left( {k - 1} \right)}{\varphi (k)}}{\lambda + {{\varphi^{T}(k)}{P\left( {k - 1} \right)}{\varphi (k)}}}$ where G is the gain vector, P is the correlation matrix, P is the signal vector and λ is a forgetting factor.
 6. The method according to claim 1 wherein calculating an estimation error includes using the equation: α(k)=V(k)−θ^(T)φ(k) where α is the estimation error, V is the measured voltage, θ is the battery parameters and Φ is the signal vector.
 7. The method according to claim 1 wherein adapting the battery parameters includes using the equation: θ(k)=θ(k−1)+G(k)α(k) where θ are the battery parameters, G is the gain vector and α is the estimation error.
 8. The method according to claim 1 further comprising determining that battery state-of-charge using the battery open circuit voltage.
 9. The method according to claim 8 wherein determining the battery state-of-charge includes combining a voltage based state-of-charge and a current based state-of-charge.
 10. The method according to claim 9 wherein determining the battery state-of-charge includes applying a weighting factor to the voltage based state-of-charge and the current based state-of-charge.
 11. The method according to claim 9 wherein the voltage based state-of-charge is determined by a thermodynamic voltage and the current based state-of-charge is determined by Coulomb integration.
 12. The method according to claim 1 wherein the battery is a lithium-ion battery.
 13. The method according to claim 1 wherein the battery is a vehicle battery on an electric vehicle and wherein the method is performed during operation of the vehicle.
 14. A method for estimating battery parameters of a battery, said method comprising: defining an equivalent battery circuit model of the battery that includes a battery open circuit voltage, a battery ohmic resistance, a first RC pair including a double layer capacitance and a charge transfer resistance and a second RC pair including a diffusion capacitance and a diffusion resistance; reading a measured battery voltage in a measured battery current; representing the battery circuit model as a difference equation that includes the measured battery voltage and current and a plurality of battery parameters; and using the difference equation to determine the battery parameters that include the battery open circuit voltage, the ohmic resistance, a double layer capacitance, a charge transfer resistance, a diffusion resistance and a diffusion capacitance.
 15. The method according to claim 14 further comprising determining that battery state-of-charge using the battery open circuit voltage.
 16. The method according to claim 15 wherein determining the battery state-of-charge includes combining a voltage based state-of-charge and a current based state-of-charge.
 17. The method according to claim 16 wherein determining the battery state-of-charge includes employing a weighting factor to the voltage based state-of-charge and the current based state-of-charge.
 18. The method according to claim 16 wherein the voltage based state-of-charge is determined by a thermodynamic voltage and the current based state-of-charge is determined by Coulomb integration.
 19. The method according to claim 14 wherein representing the battery circuit model as a difference equation includes using the equation: V(k)=θ₁ V(k−1)+θ₂ V(k−2)+θ₃ I(k)+θ₄ I(k−1)+θ₅ I(k−2)+θ₆ U(k) where V is the measured voltage, I is the measured current, k is a time step and θ₁, θ₂, θ₃, θ₄, θ₅ and θ₆ are the battery parameters.
 20. The method according to claim 14 wherein the battery is a lithium-ion battery. 